#!/bin/bash
#

for src_file in $(find /tmp/bj -type f);do
	dest_file=$(src_file/bj/sh)
	if [ ! -e $dest_file ];then
		echo "file $dest_file is lost"
	else
		src_file_md5=$(md5sum $src_file | awk '{print $1}')
		dest_file_md5=$(md5sum $dest_file | awk '{print $1}')
		if [ $dest_file_md5 != $src_file_md5 ];then
			echo "file $dest_file data is different"
		fi
	fi
done
